template register.js

created a random register.js