Split String In Array Javascript Push Pop