Implementation of the MegaHAL AI in JS for consumption with node.js