Php Empty An Array In Javascript Functions W3schools