use config validation for basedir in browser setup (#223)