* add missing semicolons
* use dot notation for access object property