Clean up register.jsp code