working on the javascript and writing descriptions