added .DS_Store and node_modules to gitignore
remove legend-styling responsibility from js