fixed document ready turbolinks error