Delete api updated
Added delete api's in js file