JavaScript: Math.max.min