Why my javascript execute just the first lines ? Prestashop

I am building a website with the CMS Prestashop,and I am trying to change its style. In prestashop we can add one javascript file and do some change, however the system executes just the first lines….