Fixes dates parsing in Firefox in demo