A simple JavaScript loader, based on the AMD pattern.