updated to work with LiveScript 1.3+