An asynchronous loading method for javascript, templates, feeds and images which follows the requireJS API and extends it