fixed cross domain json calls