home page and basic js