avoid IE11 javascript array comma error