Updates the logger creator for js mode.