onload events for both android and web

fix so maps will load.