Minor JS syntax update