Remove duplication
Trying to convert Toggler to CoffeeScript
Use module pattern
Remove unused var
Convert to CoffeeScript