Use scheme independent URLs for assets

Allow to host the generated files on HTTPS without browser security errors.