Removing optional statement along with other related filed. Removed test file for optional. Added the browserify transform to fix the fs being undefined on browsers.