Demo link added and DOMContentLoaded listener added and crossOrigin fixed