Fixed whitespaces
Merge pull request #16 from Ninir/fixes

Fixed whitespaces
Added more consistency to the code
Fixed comment
Added strict comparison to is*View functions
Merge pull request #17 from Ninir/refactor

Added more consistency to the code
Reduced datetime manipulation when setting the cookie
Merge pull request #18 from Ninir/fix-datetime

Reduced datetime manipulation when getting the cookie