Fixed bug on IE when extend moment class