Modified plugin to use JD's API for retrieving resources instead of usin...

...g reflection.