fix balls2 example after ghcjs-base change