IE8 support : Use normal for loops for iterating over scripts and links.

fixes #44