fix syntax; fix idToken parsing
Merge pull request #8 from d2m/master

Syntax fix and bad reference fix.