add more optimizations in the elm compiling
add more optimizations in the elm compiling

Signed-off-by: Michiel Stigter <b467f5d24229be36afc8288df32dae65c626c0d2@springer.com>

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse