Added lots of comment javascript and styling