fixed a couple things in layout and map.js
Merge pull request #8 from gopher-snakes-2013/refactoring

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