Added global variables for php and updated jquery to 1.9.1