PHP and Javascript solutions to moderate challenge #143 - The Ministry of Truth