Fix bug while updating vars

While I am writing javascript typing `for<tab><esc>kk`, the terrible thing happened:
```js
 for (var i = 0, l = arr.length; i < l; i ++) {
   var v =   var v = [i];
 }
```
This PR can fix this problem.