Fixed coffeescript error with path.join