fixed configuration for support javascript server side.