replaced fake closure require with fake require() to get rid of warnings about undefined variabels in the cloud9 editor