jspx refactoring