Modified ext js code