Fix #385 missed as part of the change in JS namespace change

Signed-off-by: Matt White <matt@londc.com>