[CB-2913] reactivated dir search for js files
[CB-2913] switched sed delimiter to avoid f-up with certain test names