Create registration.js

For validation