Prevented test for defer attribute to match file name in src attribute

The current test for defer attribute match the following:
`<script src="path/containing/defer-keyword.js"></script>`
I added a space character as a prefix to avoid matching a file path unexpectedly.