impl in plain JS :dizzy_face: