namespacing javascript
first steps toward object orientifiation of js
extending app with scripts
moved and renamed javascript functions
added update map function to location
reorganized js functions
fixed broken test