Can we detect browsers that do this correctly and avoid our own hack here? I'm assuming the browser impl is faster than us here