refactor head on index
Merge branch 'master' into gh-pages