Scopes for days check, should close #96

- Seems that when the browser starts it did not trigger the check date
function
- The settimeout function runs in the global scope so we must do a
hackish way of making sure our scope is correct