Great tutorial, by the way!
There is another typo in one of the javascript functions, where you should write "return t;" instead of "return thm;"
There is another typo in one of the javascript functions, where you should write "return t;" instead of "return thm;"