Realtime data updating on google map. Fixes for mobile (phonegap)