Why put `setMaxVisitedTime` in the function `setCurrentRail`, this function will be called in other module and events( `mep-player.js`)
How about just put this function in `timeupdate` event handler?