How to set task background with JXA?

Hello!

Could anybody help me to set background of a task? Also do you know if there is a good documentation for using JXA with OmniPlan? I’ve found that it’s extremely hard to investigate how things are done right with it.

Thanks.