fixed json error
fixed jade template warning for script tag, see http://www.kaspertidemann.com/how-to-fix-the-implicit-textonly-for-script-and-style-is-deprecated-error-in-jade/
upgraded to work with grunt 0.4+