Most of the browsers now run plugins in separate processes from the browser process to isolate them for stability, security and performance reasons. This means that each function call to the plugin is moderately expensive. When there are few calls, such as running a tzjs file, this is not an issue. However in development modes, running .js files, there can be very large number of calls making the application run at a fraction of the speed. To avoid this issue some browsers have an ‘in process plugin’ option that can be toggled.
Note if Firefox crashes or upgrades this setting will need to be reapplied.