scripts/karma: fix typo and canonization