initial upload for register.js