JS refactoring to make it more readable, and habits are hidden if they didn't exist during time travel.