Update main.js

responsive load jQuery and run main