update js to add jquery