more cleanup on script.js
Merge pull request #9 from lizlongnc/dev_liz

more cleanup on script.js