add jquery wrapper to js file