Bug 944946 - Use accessor methods for script->code and script->length, r=jandem.