fixed a couple things in layout and map.js, got rid of temp and test files.