Reparse the buffer before completing

Fix the problem with large files and/or uncompiled js2-mode.