jquery api navigator iphone app