Fixing a few entityloader.js