script.js code cleanup
Merge pull request #7 from lizlongnc/dev_liz

script.js code cleanup