Issue 6865: 'No Javascript on this page' for pages with HTML + inline scripts