class JSRegistry {

    protected static String prepareEntryValue(CodeType key,
                                              String value) {
        if (isAFunction(value)) {
            return value;
        } else {
            return prepareStringValue(key,
                                      value);
        }
    }

}