refactored puzzle js