[jaring] System.Media: refactoring using Ext.define.