Fix javascript+turbolinks problem