adding browser support and testing
Merge pull request #9 from gameclosure/feature-browser

adding browser support and testing
reviewed by @mcav