update javascript to clean up show/hide comments