switch off some js2-mode warnings