Fixed some javascript and added a little style.