Define console.log for IE7, fix wrong label for legend, fix legend translation