backport gaudenz' change: Replace $.live with $.on for jQuery >= 1.9 compatibility. This works on jQuery >= 1.7 (Plone 4.3 onwards).