Make getUserMedia turbolinks-compatible