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

Add in missing semicolons. Simplify logic check. Add in use strict