Create registercb.js