added typeahead.js to the editor.html