Added cross browser hacks