update to work in many more browsers
Merge pull request #5 from Medularis/master

update to work in many more browsers