Javascript Array Has Element Php Download