Update to support browserify. Bump ver to 1.0.0.