Fixes Kapi references in rekapi.init.js.