Stupid things we do for old browser support