FireFox's Date.parse does not accept dates like "Jan 2014". Made changes to examples. Made id's for the legend label and rectangle distinct. No idea about dealing with the browser problem though: Chrome on Mac and PC behave differently.