Get rid of ES5 array functions