Updated JS to version 3.1.0. [Close #9]
Merge pull request #10 from angelman/upgrade

Updated JS to version 3.1.0.