Minor code cleanup

Just going by what jshint said :)