[Transparency] add javascript function and manifest, OSX Implementation, stubs for Linux/Windows