Small syntax fixes

Syntax fix regarding alwaysRefresh behavior. JSDoc consistency fix.
Merge pull request #4 from Haran/typofix

Small syntax fixes