Modified lcm.js