Changes needed for npm publishing. Switched version to be fully compatible with Semantic Versioning (http://semver.org/)