Fix for Clarify for .src types

Clarify support for .src spec documents
There is several ways to solve this problem: detect injection position, use some type of predication, but this patch solvу a major issue: total absent of styles and scripts from specs with .src extension. 

I think issues you noticed there will be mine future improvements.