Js fix, kinda

Signed-off-by: Zann St Pierre <mail@zann.com.au>