ie >9 fixes
unit tests beginning
progress on unit tests