How To Get Php Array In Javascript Functions With Parameters