print array elements in new line javascript