add JsonP logging support + change to opts obj init