Support conditionals in bootFOAMAppsv2.js