These few functions have a lot of `event.eventSource.element` in them... maybe they should have a `var element = event.eventSource.element;` at the top of each?