Update src/autocomplete/editor_plugin_src.js

when returns an array fails with ajax function