Update OnLegendStyle.js

log button addition
Merge pull request #3 from ghakomaki/patch-3

Update OnLegendStyle.js added "LOG" BUTTON