add requirejs support