bad practice. Better use the 
Ext.create('Ext.util.HashMap');
or 
Ext.util.HashMap.create();