Use <js-module> in favour of <asset> for the JS.

This bumps the version to 1.0 since it's a non-backwards compatible
change.