chore(style): add missing semi-colon and styling

Add missing semicolons. Clear up logic. White space format. Add use
strict