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

script.js code cleanup