BUG: Fixed cross-domain json requests

This commit fixes the cross-domain json requested (when "www" is
omitted).