fixed setsdb for sharenxs-hosted galleries
removed console logging statement from javascript