cleaned up ajax
Merge pull request #4 from neapolitan-a-la-code/adam-ajax-cleanup-2

cleaned up ajax