update js files with more strict jshint. Add canvas-rotator from a codepen