update routing to coffeejs