ajaxorg/apf — pull request #33 by sergi (2011-11-28 18:45:46+00:00)
Title: Fix for W3CException_DOM_HIERARCHY_REQUEST_ERR

When trying to insert a perfectly valid CSS rule at
index 0, Firefox fails to do so throwing the exception
mentioned above. While this could be caused by other
DOM problems, the try/catch will avoid that Cloud9
is rendered completely wrong and becomes unusable.

Please review: @javruben, @janjongboom, piscisaureus