Update legend.js

Added a 'solid' style to the border. It was not visible without it (on Firefox or Chrome).