;(function(bdgg) {
		console.log('ready');
		bdgg.left = (function() {
			var chat, stream
			return {
				init: function() {
					stream = window.parent.document.querySelector("div#stream-panel");
					chat = window.parent.document.querySelector("div#chat-panel");
					bdgg.left.leftBoys(bdgg.settings.get('bdgg_left_chat'));
					bdgg.settings.addObserver(function(key, val) {
						if (key == 'bdgg_left_chat')
						bdgg.left.leftBoys(val)
					})
				},
				leftBoys: function(val) {
					if (val) {
						stream.style.cssFloat = "right";
						chat.style.cssFloat = "left";
					} else {
						stream.style.cssFloat = "left";
						chat.style.cssFloat = "right";
					}
				}
			}
		})()
})(window.BetterDGG = window.BetterDGG || {})
;(function(bdgg) {
	bdgg.left = (function() {
		var chat, stream
		return {
			init: function() {
				stream = window.parent.document.querySelector("div#stream-panel");
				chat = window.parent.document.querySelector("div#chat-panel");
				bdgg.left.leftBoys(bdgg.settings.get('bdgg_left_chat'));
				bdgg.settings.addObserver(function(key, val) {
					if (key == 'bdgg_left_chat')
						bdgg.left.leftBoys(val)
				})
			},
			leftBoys: function(val) {
				if (val) {
					stream.style.cssFloat = "right";
					chat.style.cssFloat = "left";
				} else {
					stream.style.cssFloat = "left";
					chat.style.cssFloat = "right";
				}
			}
		}
	})()
})(window.BetterDGG = window.BetterDGG || {})
Fix indentation, remove useless console log