Codedamn Javascript Logic Practice