[JS] Corrected the libraries for edition