 class View extends jQuery
   @builderStack: null
 
-  elements.forEach (tagName) ->
+  Tags.forEach (tagName) ->
     View[tagName] = (args...) -> @currentBuilder.tag(tagName, args...)
 
   @subview: (name, view) ->

   th thead time title tr u ul video area base br col command embed hr img input
   keygen link meta param source track wbrk'.split /\s+/

voidElements =
  'area base br col command embed hr img input keygen link meta param
   source track wbr'.split /\s+/

events =
  'blur change click dblclick error focus input keydown
   keypress keyup load mousedown mousemove mouseout mouseover
   mouseup resize scroll select submit unload'.split /\s+/


    @openTag(name, options.attributes)

    if name in SelfClosingTags
      if (options.text? or options.content?)
        throw new Error("Self-closing tag #{name} cannot have text or content")
    else
