Fix elgg load js and register 'jquery.custom'