Fix issue with DOMContentLoaded
upload passing master branch builds to s3