Very simple and ugly workaround for cross-domain JS error (SOP). I know it's a bullshit, but i have no idea...