For this, I'd recommend using LJ::create_url, so you don't have to worry about manually constructing the strings. Instead, you can do something like: 

    LJ::create_url( "/delcomment", args => { id => $talkid, journal => ... } ) etc!