Cleaned up cookie script and fixed jshint warnings (except call to redirectToLogin, it is used on the front page)
Merge branch 'development' of github.com:aakb/smartaarhus_wifi into development
Moved { in if to new line