add error tracking module which allows selenium to count javascript errors