CoffeeScript version of my DlxLib - ported from C#