refactor(namespaces): #897 - use s3 namespace, introduce optional endpointType option for jQuery plug-in