Rails 4: how to use $(document).ready() with turbo-links Rails 4: how to use $(document).ready() with turbo-links javascript javascript