added an editor so that we can send formatted js to the server now with a few buttons