JS backend: style nit in constructorWithDefaultParam.