Print Last Element Of Array Javascript Push