[SOLVED] Get the zimlet version number via JavaScript?

Is there a JavaScript API for getting that version number, or am I limited to creating a property in the config_template.xml file (duplicating the version number) and getting it using ${config.global.propertyName}?