Minor tweaks to get Selenium launching browser and injecting the script
Fixed TypeScript compile error in Darwin.ts