add history api, comment in js files
Merge branch 'master' into gh-pages