update examples data
refactor js for requirejs
setup requirejs for build process
load examples again