updated tab_images.html template according to the other similar pages, brief js cleaning