make the userAgent work for iPads

https://issues.jboss.org/browse/AGPUSH-902