changes index.html to work on ios and breaks bb10