Add better comments to loader.js