added erb to js file
Default avatar image set to User image; Hidden_field added to delete image