fixed validation errors & some indents

http://validator.citationstyles.org/