Version 3.0.0, now works in the browser.