Change Every Element In Array Javascript Methods