Added reference emulator in js and step counter so we can compare implementations