I\'m trying to write a real-time html compiler with html and javascript, the User Interface might looks like