add compatibility for Joomla 3

Current version adds repo.js before jQuery is loaded in J3+.

Commit switches plugin to use built in jQuery in J3+ which corrects the javascript include error.