luci-base: static.js: fix validation of netmask option