More Refactoring in newAd.jsp