changed social documentation for javscript