rename and refactor conflicting 'load' function
Merge pull request #751 from mykmelez/download-jar

fix JAR/JAD download regression (fixes #749)