Computer Science Javascript Interview Programming