inactive page restyled
Refactor that JS
async + refactor