try to make JS work on iPhone