Update Common.js

Added XPath