at the bottom of the Parsing section, after it says:
if (i < params.length && params[i] == "askUser") {
askUser = true;
i++;
}
Add in:
var newTag = "";
if (i < params.length ) {
newTag = params[i];
i++;
}
and towards the end of the Processing section, where it says:
var tags = [];
Add in:
if (newTag) {
tags[0] = newTag;
}