Error occurred upon saving job tree option

I encountered this really bizarre error in Epicor. I was trying to modify my tree options and I encountered the error ‘oTrans’ is not a member of ‘Script’. I tried to check the customization code but by default oTrans is already instantiated in the custom code. Is this a known bug in Epicor? I am currently using Epicor 10.1.