cross browser support script