added the require.js library
added the jquery, underscore library files
added leaflet library as a requirejs module
added leaflet images
fetch the latest location from the db
clean up after JsHint warnings
modified main and app to integrate SPA