*8630* Fix JS warnings