(function(){ //Bunch of code... })();
http://stackoverflow.com/questions/592396/what-is-the-purpose-of-a-self-executing-function-in-javascript