making script to text/javascript type in jade templates, to avoid anonymous errors