Hack to make js work with turbolinks