Fixed Uncaught TypeErrorFixed Uncaught TypeError. A big thanks to Phalanx1982 for reporting this on Twitter. :)