Bug 897052 - Null check acForm to avoid JS exceptions; r=MattN