added script for main.js and tested jquery.