do not merge - publish.js review

instead of manipulating the query string, we now parse it and assemble it back when needed