delete functionality 

delete js