fix lxjs for mac