added console.log fix for IE8 and IE9
added edit toggle switch