check for error before looking at response
Update .gitignore
Update index_mlb.js
Merge pull request #6 from Differential/master

check for error before looking at response