JavaScript Problem Solving Tech Test