Fix "Uncaught TypeError: Cannot read property 'maxAge' of null"
Merge pull request #77 from evgeny-o/fix_null_exception

Fix "Uncaught TypeError: Cannot read property 'maxAge' of null"