Standalone javascript resource loader.