Fair Warning solutions

Fair Warning was solved using JavaScript by 2 contestants.