added images; added functions file; added javascripts