moved some js styling to css
+ fixed marker color not updating on change