solutionModel and Rectangles

Whether an element is on the foreground or not depends on its formIndex-property.
To be in the background, the formIndex of your rectangle needs to be lower than the formIndex of your fields.

Setting it to -1 will probably do the trick:

jsRectangle.formIndex = -1;