make index.html work on iPad