added .parallel switch to xxply_jg function that only on for analyses and chains