code refactoring - adding all page styling function and moving job flow page styling to applyCSS