Hi Sarma,
I'm not sure about the JBoss deployment. The Wiki says to use <alfresco>/jboss/server/default/conf/alfresco/extension for extensions, so if there is no shared lib directory in JBoss you could probably unpack the jar file into <alfresco>/jboss/server/default/conf/
The javascript console contains extensions for both webapps (alfresco.war and share.war) so you need a location that is accessible for both webapps.
Let me know if you find a solution so we can add it to the share-extras documentation.
Regards,
Florian