Fix record/views.js.
Remove compatibility.js.