Added selenium grid support, ajax listeners