Visual logic simulator & debugger in JS