New version. Kept because the JS works on the index.php page