made easy version of url parser and div maker for map