work on ceylon/ceylon-js#341
compact
fix ceylon/ceylon-js#341