updates to js2 mode hooks