Added JS bugs in extension mode.