renamed 'selector' in general.js