fix ceylon/ceylon-js#392