added support for ios6 web app