Php Add Array In Javascript Functions