fixed #55 (though would only affect old browsers anyhow)