[javascript] Get the current year in JavaScript