Partial conversion to idiomatic LiveScript