Added Register-related js file