migrated all maps to gmaps javascript api, cleaned up more code