refactored the JS and changed the text a bit