Fix erp5.js to keep it compatible with jquery 1.4.

.prop() is available after jquery 1.6.