Kronos.js (incomplete)

Probably. This entire function is pretty janky. Lemme see what I can do.