added functionality hide/show into js script
Merge branch 'master' into gh-pages