@polesye OK, thanks for the explanation. Please leave the function, as it is indeed used in the [line](https://github.com/edx/edx-platform/blob/anton/video-player-grading/common/lib/xmodule/xmodule/js/src/video/11_grader.js#L188) you mention.