Fixing ajaxLoaded event for the renderPartial method