hack to fix SelectSingleNode not available in Chrome