update javascript
Merge pull request #1 from benkutil/gh-pages

update javascript to show subButton and toggle .sub via benkutil