added jshint support
refactored delete api a bit
fixed brain fart w/r naming deleteNode