UI logic to logsus.js, styling