remove empties
test js directives