Fixing my javascript

Signed-off-by: L Mars <archimedespi3141@gmail.com>