nicer header/footer
using almond instead of require.js
Merge branch 'master' into gh-pages