Update delete to match API
Rename application js code