added in path, domain and secure option to cookie
init global var
typo
JSHINT fixes
Merge pull request #1 from willfarrell/master

added additional options to cookie and applied JSHint fixes