Some remarks on representations of jet groups and gauge groups