Set JS Rhino optimization to the maximum in server script files. Forum reports 10x of improvement