fix wrong calculation of "strJsElem"

Hi folks,

I recongized this bug on loading jquery.js once from google and than as a condition from the hard-drive. Any time jquery.js was loaded twice times - first as a IMG type and after again as type JS. This short code snippet was the fix.

Best regards from Germany,
Gjero