add install js pkg feature
Merge pull request #37 from zackshen/master

add install js pkg feature