Added scripts and initial functionality to index.html for building SPA's