removes console.log so it works in IE; visual improvements in Firefox