adding image carousel and image/map swapping javascripts to detail page