Added utility functions that views depend on:
- formatKB() - Format kilobytes with automatic unit conversion (KB/MB/GB/TB)
- getStatusClass() - Return CSS class based on percentage thresholds
(good: <50%, info: 50-74%, warning: 75-89%, critical: >=90%)
- getTempClass() - Return CSS class based on temperature in Celsius
(good: <60°C, info: 60-69°C, warning: 70-79°C, critical: >=80°C)
Resolves "API.formatKB is not a function", "API.getStatusClass is not a function",
and "API.getTempClass is not a function" errors.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>