Fix bugs in javascript
bad semver