load javascript libraries (such as jquery.min.js) for insecure page (fixes #3485)