Merge pull request #39 from metakeule/master

refine API for jslib