Fix not work in ie( because location.origin == undefined )
Refactory test code
Fix ng autocomplete while no response