Fixed JS not working on iPhone