Javascript synthesizer