Bugfix: add type text as prop for jQuery < 1.8 in external resources