HTML/JS - Added delete function