Issue 171 - Front-end code improvement (2nd.).

This is a 2nd. pull-request for https://github.com/evanxd/travis-reporter/issues/171.