make the userAgent work for iPads