modified JS file so images display on the side

 and prior searches' lat/lng are saved in the pins