Refactor library using new base JS one.
Refactor library using new base JS one.

Change-Id: Ib49b6aeec3db7d2efde9baf1b13646f2679d9d09

kernelci/kernelci-frontend,kernelci/kernelci-frontend,kernelci/kernelci-frontend,kernelci/kernelci-frontend