Removed all dojo/_base/array uses and replaced by native ES5 Array functions.