Added pseudo-fix for #164; fixed some tests that failed in IE