Support for JS injection.