Add callback arg to `getValue` for communication with user JS.