URI.js for the rails asset pipeline