Updated Legend.js

Moved watch on legend to the top.