view js functions are cached by ddoc _rev evsukov89/couchbase-lite-ios#5