The problem was due to a change in the spec that means you now need to set the content_changed flag to true for scripts to have any effect:
event.response.content_changed = true;
http://wiki.dreamfactory.com/DreamFactory/Tutorials/V8_sql_with_nosql