As much as I love my solution, jquery.turbolinks is better.