Fix ceylon/ceylon-js#202
Fix ceylon/ceylon-js#213 and work on ceylon/ceylon-js#196