add getWeek()
enable strict mode
refactor getWeek()