fixed turbolinks ready function