RequireJS compatible JavaScript