externalize legend
removed commented lines
Merge pull request #182 from instantsoup/master

externalize legend