Updated for RequireJS