document ready workaround for turbolinks