Set default preferences programmatically
Better XHR handling
Added `id` locale