TypeError xxx is not a function Might Be A Missing Semi-Colon

When you get something like this: