gix typo in js