JS backend: added the ability to turn off the inline optimization.