fix syntax in JS version