updates documentation to new javascript button