changed ajax function to access external url files for processing php
new method used $getjsonp