Handle ajax fails
Merge pull request #47 from bem/BEMINFO-613

Handle ajax fails