Aasawaree:Refactoring (separate javascript from html) for compare runs,pyramid view,home page