PreAlert Screen + js optimisation