What is this?

Noticed a few different riders this past weekend with long straps hanging off one side of their handlebars. Do these have a function or are they just ornamental?

Noticed a few different riders this past weekend with long straps hanging off one side of their handlebars. Do these have a function or are they just ornamental?