Edit some warnings in js.