Add a new requirejs method