Adapt the code to the new feature of django-inplaceedit (Now the js options of jquery.inplaceeditform.js can be overwritten)