Fix: rework `exec` arguments, fix jsHint complaint