Global variables are bad. Revealing module pattern FTW.