changed deprecated live() to on()