Now with turbolinks we should update this load function to execute on page:ready event. It should be something like in this file: https://github.com/Helabs/nfe/blob/master/app/assets/javascripts/application.js