(uri.pathname ? uri.pathname.substr(1) : '') -- to be more readable