Changed getWeekNumber function on Date object to return proper week numbers.