Fixed issue in JS code that gave 4 tries instead of 3. Explanation button pops up at the right time now.