deleteNode

test the function of deleting nodes throught javascript