Fixes bug that caused firefox not to connect with api on first hit
Fixing date appearing in Firefox