JS backend: fix translation for || and && (create new tmp variable if needed)
JS backend: fix TranslationUtils.isCacheNeeded