[web/views] Fix PropertyKeyField widget (closes #5087413)
CWProperties don't have unittests, this will likely break again.
<div id="ajaxroot">
<div class="ajaxHtmlHead">
<script src="http://foo.js" type="text/javascript"> </script>
<link rel="stylesheet" type="text/css" media="all" href="qunit.css" />
</div>
<h1>Hello</h1>
</div>