remove call to deprecated AceEditor constructor

Also, clean up imports.