JSHint compliance: strings must use doublequote
JSHint compliance: expected '{' after 'if'
JSHint compliance: use '===' instead of '=='
JSHint compliance: missing semicolon