JavaScript workorders sample, WIP