Remove redundant esnext flag check