adding javascripts and building out image gallery