Fixed/cleaned up jshint warnings.