fix(amd): removed elgg_require_js to get backwards compatibility

Fixes #6496