Added support for javascript assisted delete.