JavaScript AVR emulator