Merged updated index page with js call