lib: Prettify converted CoffeeScript a bit