Fixes Django 1.6 bugs.

jQuery.live() is no longer available in Django's jQuery version,
so jQuery.on() is used instead. Django's reverse() now urlencodes
its result, which means the %s in the change/delete URL template
also gets urlencoded. This is resolved by replacing the encoded
%s with simply %s.