Update magicsuggest.js

add param formatResultAjax for format ajax result when it is String