pass php array variable to javascript