Convert Nodelist To Array Javascript Push Method In Php