fixes turbolinks problem with ajax