JSDoc cleanup.
API cleanup
Fix some cross browser stuff.
convert build processs to browserify
Wrap build