add check for duplicate jsFile added with different actions