Fixes #93

Looks like a possible bug is some browsers and differences in behaviour is others