More attempts to get the coffeescript map function to work.