add amd commonjs support
dd requirejs demo

 Please enter the commit message for your changes. Lines starting