Convert Binary String Into Array In Javascript Functions W3schools