Added to layout.jsp  <script src="js/registrationControl.js"></script>