#11265 AriaHandler NPE

Fixes JavaScript exception when debug window is open

Change-Id: Ic296cc643cf7b128c34d6446a05ea89a85bdcc35