updated tests, readme, and added some changes to freeloader.js