fix js2 mode and add complete at point