upgrade to V3 of JS
Merge pull request #1 from wetzler/newlibrary

upgrade to V3 of JS