Basic module

make up a module framework to split the library into modules.
kernal.js module

either work with plot.js or work alone