changed some styling, fixed spelling/js syntax errors