(1) Added logger-height attribute to <lk-js-example> tag, so large logs can have scroll bars.
(2) Added getProperties, to dump an object’s properties (e.g., for logging).
(3) Added onclickEventToggler, to handle on click events that need to toggle an element between two states.