Removed redundant files. Updated some code and updated libraries in bower.
Merged sally's changes about legend.
Fixed border for legend.
Highlight border on hover.