moved javascript to separate files
map automatically centers and zooms to display all markers