[feature] Updated ctr-viewer to handle array of params

@settinghead looks like the previous change was made in the wrong place.

Updated `ctr-viewer.js` with the same functionality as before, and since this commit corrects the previous one, I haven't bumped the version.

Please review & merge. Thanks.