bugfix for getYear of js is different from IE