Declare var in correct file