re-wrote the JS and the views to be a single page and load in the layers via JSON