A javascript AMD module for loading page html and script pairs for a single page application