Recreating MakersIDE online text editor using Coffeescript