minimize js size
Merge branch 'master' into gh-pages