Ignore already inlined script

Not sure this is the best way to do this. The patch ignores scripts that do not have a src attribute.