changed getjson to basic ajax
changed getjson to basic ajax