luci-base: validation.js: fix "unique" validator