added URI.js for new smart filtering