Convert navbar to coffeescript