fixed turbolinks document.ready() issue