Automatic loading bar (pace.js) compatible with Rails asset pipeline