cleaned up and moved jquery to main.js