Moving d3 advanced search code to ng directive - delete old d3 js files