changes on spripts js only for the iphone version