js loading issues, public url, close button