Update autoComplt.js

Delete some redundant codes