You attempted to adapt the tutorial but made a mistake. On line 5 change Window to Jenny. Also read up on Lua Variable Scope. You want the Jenny variable to be available to the draw function but it will be stuck to the update functions scope. So it will still error even after you make the change.
Do you frequently have great ideas but immediately lose them? Check out the MVP for my website called IdeaVault. It is designed to solve that problem. Desktop browsers only currently.