revisions and bug fixes to style, header, and js