 <p>I don't know if it is related, I had a lot of trouble with embedded script in jade file. Syntax changed. You might have to add a dot to the script tags in jade file, if JS is followed in next lines.</p> <p>There is another evil change, you need to write doctype html instead of doctype 5</p> <pre> script var x=1 is now script. var x=1 </pre>