put dymanic loading related kernel code and query kernel code into public/static. everything in JS need be loaded at frontend from ruling com should be placed here.