This is a regression from some recent changes to the JS code - http://review.couchbase.org/c/cbft/+/151850