Adding new version of the JS for WP4.0. Fixes #7.