Json Write New Array Js Functions Template