1. A computer-readable medium comprising instructions, which, when executed by a processor, cause the processor to perform a method of initializing a virtual machine for rendering an object on a computer display, the method comprising: providing an application; receiving a property value corresponding to an application format; identifying a plurality of variables from a byte-code of the application; reading a plurality of object representations for at least some of the plurality of variables from a markup language document; selecting an object representation from the markup language document according to the application format specified in the property value, wherein the object representation is selected from the plurality of object representations with same meanings and different formats; and assigning the object representation from the markup language document to a variable in the application by assigning the object representation in the markup language document to the variable in the application; re-initializing the virtual machine upon a modification of the markup language document, the re-initializing comprising: identifying a new object representation from the modified markup language document according to the application format specified in the property value; identifying the variable for the new object representation by parsing the application; and re-initializing the variable based on the new object representation.