set the proper hostname for ajax calls
Merge pull request #30 from FenrirUnbound/patch/ajax

set the proper hostname for ajax calls