Replace addInitEvent with jQuery, for compatibility only.