I was able to eval it by mocking out all DOM dependencies
Location = ->
Location.prototype.href = ""
Location.prototype.pathname = ""
Window = ->
Window.prototype.location = new Location()
Window.prototype.addEventListener = ->
window = new (Window)
global.window = window
Element = ->
Element.prototype.setAttribute = ->
Element.prototype.pathname = ""
Element.prototype.addEventListener = ->
Element.prototype.find =-> new Element()
Document = ->
Document.prototype.createElement = -> new Element
Document.prototype.addEventListener = ->
document = new Document()
global.document = document
window.document = document
Navigator = ->
navigator = new Navigator()
global.navigator = navigator