Added globalScript and HTML template

HTML template includes an eBay version which has a safe JS import.