add convert flag to getScript
added fallback to walking the DOM when xpath evaluatate fails
Merge branch 'demo'