final changes and ie8 fixes