- jhint change options
- fix some code format bugs