error: map overlay is effecting other js file