simplified usage of js module

Signed-off-by: K <mustkre8@gmail.com>