clean up some comments and logging. for JAS plugin