[DOC] fix javascript part