Bumped version number to v1.0.0-beta.4

Bumped version number to v1.0.0-beta.4 because of an npm publish mistake.