conxig.xml - replace deprecated <plugin> tag with <feature>
modify JS for latest PG spec