Fixed to use Google methods rather than object properties which change regularly. fixes #7
Merge pull request #8 from superrbstudio/master

Fixed to use Google methods rather than object properties. Fixes #7