I have just added a new javascript to my old theme . But these messages appears on top of page :
What`s problem ?string(147) "Smarty error: [in template:20 line 37]: syntax error: unrecognized tag: isDebug: true, debugAtAllCosts: false (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:20 line 37]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in template:20 line 48]: syntax error: unrecognized tag 'switch' (Smarty_Compiler.class.php, line 590)"
In a separate HTML file this javascript works fine but in CMSMS it cause to appear these errors .