Ticket 696: Javascript: remove the dependency on $.live()