Added missing script to register.jsp