Js formatJson bug.

HI,

There was a small bug with formatJSON in customer.js. Sine there can be more then one ('pre code') node when we have a ready job and a delayed job .. we need to put the code in $.each function otherwise ... Job Data: is all the same for all states.