small additions in scope of converting to CoffeeScript