adding compatibility to sencha project
its getting messy