rewrites map and location-add functionality with persistencejs, breaks list view