scoping variables properly. cuz javascript ain't coffee