small update on JS script

Signed-off-by: portamx <support@portamx.com>