added an ace.js editor
moved in change from master
update method is now dynamically updateable