correct url in ajax request
Merge pull request #809 from craigh/ajaxfix

correct url in ajax request