add basic architecture for buzzer javascript