REFACTOR: JSLIB to LIB