Js Replace Array Element With 12