[Change] code style
[Feature] change JS to JSON
[Feature] reduce file IO
Merge pull request #11 from lixiaopeng/master

Bugfix and Feature