Can't use on, as it is part of jQuery 1.7 and Elgg 1.8 has 1.6.4