The Hotel WiFi Problem: Building Resilient JavaScript Apps

Your app works everywhere except that one customer's corporate network. Here's how to build JavaScript apps that survive hostile networks, captive portals, and the special hell of hotel WiFi.