passed map data to app.js and began checkForEditPage()