work on ceylon/ceylon-js#358
work on #358