 			return if value is @_superView
 			
 			# Cancel previous pending insertions
-			document.removeEventListener "DOMContentLoaded", @__insertElement
+			# document.removeEventListener "DOMContentLoaded", @__insertElement
 			
 			# Remove from previous superview subviews
 			if @_superView

	removeClass: (className) ->
		@classes = _.filter @classes, (item) -> item isnt className
	
	# @private
	_insertElement: ->
		
		# If we are loaded we insert the node immediately, if not we wait
		if document.readyState is "complete" or document.readySate is "loaded"
			@__insertElement()
		else
			document.addEventListener "DOMContentLoaded", @__insertElement
	
	# @private
	__insertElement: =>
		document.body.appendChild @_element


	#############################################################################

		# Get this views absolute frame on the screen
		utils.convertPoint @frame, @, null
	
	
	contentFrame: ->
		# Get the total size of all subviews
		frame =
			x: utils.min _.pluck(@subViews, "minX")
			y: utils.min _.pluck(@subViews, "minY")
