Fixed minor css bugs and updated some of the javascript