added some dart2js hints for better JS code