if i remember right, wrapping this up in an anonymous function was probably something i did to keep from polluting the namespace, but since we're in coffeescript, can this code just be executed normally or made to be a helper function?