adding the js file
fixed the delete