map with external js