fix Directions parameters
working directions webapp, add coffeescript version