Update clientside-logging.js

Show dependency on amplify
Rename W to Wicket in IIFE (improves legibility)
Use variable win (instead of window) inside of IIFE
Updated comments to include all collection types