Making shared.R generic

This should work for any shiny dependent package which have www folder