lots more work on JAS plugin