Create newarray.js