javascript/ExtJS test