Damn Javascript global variables.