       @element.className = "#{@element.className} browser-not-supported"
 
       for child in @element.getElementsByTagName "div"
-        if /message/.test child.className
+        if /(^| )message($| )/.test child.className
           messageElement = child
           child.className = "message" # Removes the 'default' class
           continue

  # 
  # This code has to pass in IE7 :(
  getExistingFallback: ->
    getFallback = (elements) -> return el for el in elements when /fallback/.test el.className

    for tagName in [ "div", "form" ]
      return fallback if fallback = getFallback @element.getElementsByTagName "div"

    # IE :(
    checkElements = (elements) ->
      for el in elements
        dropzones.push el if /(^| )dropzone($| )/.test el.className
    checkElements document.getElementsByTagName "div"
    checkElements document.getElementsByTagName "form"

