timeshift.js: Code cosmetics