optimizations for demo pages
Merge branch 'develop' into gh-pages