code changes after jshint
modify comments
fix logic
Merge pull request #14 from tristanguo/develop

Code Revise after jsHint