Not sure if this is the same issue as #19,
but Modernizr is a popular enough project that this seems to be a real problem.
require 'open-uri'
require 'smurf'
modernizr = open("https://raw.github.com/Modernizr/Modernizr/master/modernizr.js")
Smurf::Javascript.new(modernizr.read)
# RuntimeError: Unterminated RegExp Literal
# from ~/.rvm/gems/ruby-1.9.3-p0@global/gems/smurf-1.0.8/lib/smurf/javascript.rb:168:in `action'