Replace MessageEvent with ajax call in reader setup

Also updated gitignore
If intentionally leaving this in, perhaps a comment about why this is bad (slow)?