Javascript should init on ready or page:load for turbolinks. Fixes #583