JavaScript wrapper for storagebin service