Missing "use strict"; statements.
Figurine and item placement stuff.
Win condition and win screen.