js: small fix