Testing iphone capabilities through htm