Merge pull request #9 from hujiajie/master

jslib update
Remove config.h dependency, which would block static build.
make dynamic loading only happen on Windows.