Fix HTML error, round times using Math.round(),

Figured out how to check if value is True or False.