Adding this right squiggly brace isn't the solution.  The problem is a few lines up there's a "select = t.$('select');" with a semicolon that should be a comma at the end of the line.