Javascript Check If File Exists Cross Domain