Fixed bug to make it work in ie8, downgraded jquery so tests would run in ie8