remove script loads to directives that are not there