update js calls for gh-pages