Error queue

Put errors in a queue if jssavior is loaded async and process them as
soon as jssavior is ready