document ready fix for turbolinks