Enabled xhr, jsonp polling. Removed debug code.