node-lib: pull function def out of if statement to comply with FF strict mode
node-lib: pull function def out of if statement to comply with FF strict mode

b1101/browsix,flat1101/browsix,flat1101/browsix,flat1101/browsix,flat1101/browsix,b1101/browsix,b1101/browsix,b1101/browsix