Refactoring

Removed browser fixes
Updated gulp to bypass native browser objects
Added source map for dist