add requirejs and demo