#247 using method ~on~ of jquery instead of ~live~