map lines to circle size and add stroke dash array
clean up js file