Add missing javascript files and remove indexPage stuff