Update script.js

1. Update jQuery codes