Wrapping into requirejs definitions