Refactoring of JSP's