BugId: 102925 fixing js error in AdLogic