Bug 861592 - Make isContentEditable() in form.js not fail with null elements r=ttaubert