add ctrl.js.
Merge branch 'ctrl-refactor' into gh-pages