Replace ajax element with div when retrieving ajaxed content.