added jQuery wrapper to main.js