live() and die() are deprecated and removed; change to using on() and off()