FIX js typo, rules checker for case with no controllers