updating for backported version of Sprockets
debug output for phantomjs