Issue in the JS

Signed-off-by: Maikol Guzman <mikeguzman@gmail.com>