Make option.js smart.