Issue 6954: Script panel claims 'No JavaScript on this page' before loading