Replaced ext-js function 'remove' with pure js version in advancedsearch.