Replace .on() with .bind() to support jQuery < 1.7

Since ProcessWire 2.2 uses jQuery 1.6.2 by default, replacing .on() with
.bind() or .delegate() is a requirement to support it properly.