Added check for CORS errors, and display warning message
Merge pull request #176 from alex-seville/master

Give user warning about using file:// on CORS error