Added browser support

Issue: #2