[doc] fixed JS documentation