edit fixes JS error/warning

Signed-off-by: -Underdog- github.underdog@gmail.com