Bug 949747 - Use accessor methods for JSFunction fields, r=jandem.