Small refactor of webinf init
Minor beauty change