Updated js and css
Switched from using XPathSelector to Selector
Added config file with USER_AGENT setting and applied it as request header
Added custom xpath functions module (with has-class fn)