JS file now has the Array Function