added scripts to main page indstead of body modules

this way jquery is loaded for the scripts