Update puzzle.js

Step 1