ISO 8601 week adjustment in javascript client side