adds check to prevent broken ajax - fixes #280
Merge pull request #288 from rickhanlonii/ajax-broken-issue

Fixes Broken AJAX calls on News Index