fix localization for button
fix a bug with date handling in IE