removed state property from getState
Merge pull request #4 from codesliced/cookie_oojs

removed state property from getState