original code from PWA for 3.3 Flex upgrade of Land Info Portal