added feature auto-complete

for a demo:
* grunt build
* goto demos/auto-complete.html