ICOM MacVenture engine implemented in javascript