Adapt the delete method for the new playlist api
Change the variable name for the base api url

Check the coffescript documentation about lexical scoping