update JS docs