added comment laying out show buttons
init .js file