html formatting, javascript linting

fixed html formatting, javascript lint errors, updated comments