Some fixes for iPad sessionStorage max being set to 0