Php Create New Array Javascript Mdn