cleaned up JS

Signed-off-by: Erik de Groot <erik@tjuna.com>