attempts to make mapUtl coffeescript more idiomatic