Require-JS friendly version.