initial implementation of kernel plugin for javascript