fix for iphone4 and add ajax

:)