add ie and iOS compatility