 				@$refEl.css height: "#{@badylInnerHeight}px"
 				@badylHeight = @$refEl.height() + @config.offsetTop + @config.offsetBottom
 
-			@$el.replaceWith @$badylContainer = $("""<div>""")
+			@$el.wrap $("""<div class="badyl__container">""")
 				.css
 					position: 'relative'
 					height: "#{@badylHeight}px"
 					margin: "-#{@config.offsetTop}px 0 -#{@config.offsetBottom}px"
-				.append @$badylInner = $("""<div>""")
-					.css
-						width: "#{@containerInnerWidth}px"
-						height: "#{@badylInnerHeight}px"
-						padding: "#{@config.offsetTop}px 0 #{@config.offsetBottom}px"
-					.append @$originalElement = @$el.clone()
+			@$el.wrap $("""<div class="badyl__inner">""")
+				.css
+					width: "#{@containerInnerWidth}px"
+					height: "#{@badylInnerHeight}px"
+					padding: "#{@config.offsetTop}px 0 #{@config.offsetBottom}px"
+
+			@$badylContainer = @$originalParent.find ".badyl__container"
+			@$badylInner = @$originalParent.find ".badyl__inner"
 
 			@$originalElement.data "badyl", @
 			@$badylContainer.data "badyl", @


		badylize: ->
			return if @badylized
			@containerInnerWidth = @measureInnerWidth @$originalParent
			@originalHeight = @$el.height()


			return unless @badylized
			clearTimeout @smartResizeTimeout if @smartResizeTimeout
			@unbindEvents()
			@$originalElement.unwrap().unwrap()
			@$el = @$originalElement
			@$el.data "badyl", @
			@badylized = no
			@state = null
