Php Array As Function Parameter In Js