JavaScript: Comparison Snakes-Results