Added js to edit/create templates to show uploaded image before form
submit