removes directives from js assets