Minor binding tweak in JS