cleared obsolete code from maps.js