Perl Create Empty Array In Javascript