external js for maps interacting