Core `requirejs` features reimplemented to work with Meteor