Remove debug console.log and fix comparison
Unnecessary semicolon