remove some unused JS syntax nodes