Use double quotes, not single quotes
Handle AJAX requests timeout
Gracefully handle initialization errors