1. A method, comprising: receiving, by a browser application of at least one computing device, script code including receiving code representing a component object model (COM) object; generating a prototype of the COM object including generating a type representation including at least one dynamic type associated with the COM object; and in response to a request for native code representing the COM object, marshaling the code representing the COM object to the native code based on at least one intermediate data construct tailored for dynamic COM object translation between the script code and the native code.