handle js and json
Merge pull request #22 from think602/final-push

handle js and json