Issue 169 - Match code form of container.js to JSLint.

This is a pull-request for https://github.com/evanxd/travis-reporter/issues/169.
Improve code to match the form `JSLint` gives.