register html with register.js