dart2js
updated javascript