JS side of ceylon/ceylon-js#459