Compatibility fix for ExtJS 4.2
Merge pull request #170 from m-click/fix-extjs-4.2

Compatibility fix for ExtJS 4.2