The closure compiler was just renaming the variable so it never would have picked them up. Make it an extern so it knows what to do.