No semicolon after the closing bracket of a function definition of the form:

    function foo() {
    }

You put one if you do:

    var foo = function () {};