reflects updated msg lib + switched to CoffeeScript