fix some issues on IE8, bump version to 2.0.4