^ in the "year" the + 1900 is for FF, as it getYear returns a number equal the the number of years since 1900.
For IE you don't need it, so you'll need to build in a browser check...unless someone else has a better way to grab the year.
TIP: trying googling the answer before posting, you'll find that more times than not someone else somewhere has had the same request and posted an answer online.
----
I have recently been semi-converted to ensuring all my code (well most of it) works in both javascript and non-javascript enabled browsers