Yes. That was because your site template has a config option called Compress HTML. When you set it to Yes, all the output from your site will be compressed into one line and that cause javascript error. I just turned that config option to No and Everything works well as it should !