Some JSHint fixes on track-view.js.