js libraries, fixes