Chrome was doing this magically, this fixes it for other browsers.

Fixes #358