Refactored a little bit the JS and the test presentation page