Replaces JS library sources with https sources