Now using semver for js files. Closes #42