update demo location
fix dist bug and add requirejs dependency
Merge branch 'master' into gh-pages