This is now a global variable. Can you put a 'var' before it? Also, it's generally good practice to declare static references at the top of the file.