added helper functions file, modified JS to reflect image file names. PHP handles file upload and places them correctly.