Javascript function to get YearWeek format (e.g. 201253) from a given date