add missing attributes
Fix ceylon/ceylon-js#242