Let's bring in URI.js (http://medialize.github.io/URI.js/) for doing our URL parsing