update js docs