Use URL.js rather than parseuri.js