Fixed script bug with new version of Jade.
Disabled jquery and refined template to fix bugs.