Php Use Variable In Anonymous Function In Js