use better browser vs. node.js detection