add missing var & semicolon (darn CoffeeScript's confusing me again)