Add view JS to all pages
Quick and dirty logging of failing HTTP requests