fixed ajax submission in iphone