Got Karma working again; tweak to fix test error for IE8 in Karma