make work with RequireJS