Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley