Add basic share JS functionality.