changes in ios.js