refactor Slider to use require.js packages
Merge branch 'master' into gh-pages