Fix more outdated usages of JS extensions.

Change-Id: I10690f02f6e54c711c2547a223762b77e286e015
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>